<template>
  <span v-if="status === 'success'" class="status_2">
    <i class="el-icon-success" style="margin-right: 5px"></i>{{ text }}
  </span>
</template>

<script>
export default {
  name: 'StatusLabel',

  props: {
    text: {
      type: String,
      default: ''
    },
    status: {
      type: String,
      default: 'success'
    }
  }
}
</script>
